package com.pinda.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
/**
 * <p>
 * 司机表
 * </p>
 *
 * @author 
 * @since 2022-05-05
 */
@TableName("pd_truck_driver")
public class TruckDriver implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 用户id，来自用户表
     */
    private String userId;

    /**
     * 所属车队id
     */
    private String fleetId;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 图片
     */
    private String picture;

    /**
     * 驾龄
     */
    private Integer drivingAge;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getFleetId() {
        return fleetId;
    }

    public void setFleetId(String fleetId) {
        this.fleetId = fleetId;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public Integer getDrivingAge() {
        return drivingAge;
    }

    public void setDrivingAge(Integer drivingAge) {
        this.drivingAge = drivingAge;
    }

    @Override
    public String toString() {
        return "TruckDriver{" +
        ", id=" + id +
        ", userId=" + userId +
        ", fleetId=" + fleetId +
        ", age=" + age +
        ", picture=" + picture +
        ", drivingAge=" + drivingAge +
        "}";
    }
}
